UPDATE c1_entity_extend SET END_DATE = NOW() WHERE INSTR(:ids, ID) > 0
